package com.dd.mapper;

import com.dd.pojo.entry.Folder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;


public interface FolderMapper extends BaseMapper<Folder> {


    /**
     * 查找文件夹
     * @param userID
     * @param  parentId
     * @return
     */
    List<Folder> findOneTypeFolder(@Param("parentId") String parentId, @Param("userID") String userID);


    /**
     * 查询文件夹信息
     * @param folderId
     * @param userId
     * @return
     */
    Folder findFolderInfo(@Param("folderId") String folderId,@Param("userId") String userId);



}




